namespace C1.Win.C1FlexGrid
{
    using System;

    public class GridChangedEventArgs : EventArgs
    {
        public readonly int c1;
        public readonly int c2;
        public readonly GridChangedTypeEnum GridChangedType;
        public readonly int r1;
        public readonly int r2;

        internal GridChangedEventArgs(GridChangedTypeEnum a)
        {
            this.r1 = this.r2 = this.c1 = this.c2 = -1;
            this.GridChangedType = a;
        }

        internal GridChangedEventArgs(GridChangedTypeEnum a, int row, int col)
        {
            this.r1 = row;
            this.c1 = col;
            this.r2 = this.c2 = -1;
            this.GridChangedType = a;
        }

        internal GridChangedEventArgs(GridChangedTypeEnum a, int row1, int col1, int row2, int col2)
        {
            this.r1 = row1;
            this.c1 = col1;
            this.r2 = row2;
            this.c2 = col2;
            this.GridChangedType = a;
        }
    }
}

